package io.github.flypiggy.stack.operate.log.spring.boot.starter.properties;

import io.github.flypiggy.stack.operate.log.spring.boot.starter.properties.enums.DateSuffixEnum;

public class Mongodb {

    /**
     * Mongodb collection name.
     */
    private String collectionName = "web_log";

    /**
     * This configuration takes effect only when an index of type 'DATE_SUFFIX' is selected.
     * The specific index name will be prefixed with the 'name' attribute and the date as the suffix.
     */
    private DateSuffixEnum suffix;

    public String getCollectionName() {
        return collectionName;
    }

    public void setCollectionName(String collectionName) {
        this.collectionName = collectionName;
    }

    public DateSuffixEnum getSuffix() {
        return suffix;
    }

    public void setSuffix(DateSuffixEnum suffix) {
        this.suffix = suffix;
    }
}
